package com.example.serverclient.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableFeignClients(basePackages = "com.example.serverapi.*")
@EnableDiscoveryClient
@ComponentScan("com.example.*")
@SpringBootApplication
public class ServerClientApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServerClientApplication.class, args);
    }

}
